<?php

/**
 * @file classes/site/Version.inc.php
 *
 * Copyright (c) 2000-2012 John Willinsky
 * Distributed under the GNU GPL v2. For full terms see the file docs/COPYING.
 *
 * @class Version
 * @ingroup site
 * @see VersionDAO
 *
 * @brief Describes system version history.
 */


class CTKT extends DataObject {

	/**
	 * Constructor.
	 */

	function CTKT() {
		parent::DataObject();
		// Initialize object
	
	}


	function getidphieu() {		
		return $this->getData('idphieu');
	}

	function setidphieu($id) {
		return $this->setData('idphieu', $id);
	}
	function getnoco() {
		return $this->getData('noco');
	}
	function setnoco($noco) {
		return $this->setData('noco', $noco);
	}



	function getsoct() {		
		return $this->getData('soct');
	}
	function setsoct($soct) {
		return $this->setData('soct', $soct);
	}
	
	function getngct() {
		return $this->getData('ngct');
	}
	function setngct($ngct) {
		return $this->setData('ngct', $ngct);
	}


	function getngayct() {
		return $this->getData('ngayct');
	}
	function setngayct($ngct) {
		return $this->setData('ngayct', $ngct);
	}
	function getdiengiai() {
		return $this->getData('diengiai');
	}
	function setdiengiai($diengiai) {
		return $this->setData('diengiai', $diengiai);
	}
	
	function gethoten() {
		return $this->getData('hoten');
	}
	function sethoten($data) {
		return $this->setData('hoten', $data);
	}
	
	function getdiachi() {
		return trim($this->getData('diachi'));
	}
	function setdiachi($data) {
		return $this->setData('diachi', $data);
	}
	
	function getlydo() {
		return trim($this->getData('lydo'));
	}
	function setlydo($data) {
		return $this->setData('lydo', $data);
	}
	
	function getsolgctg() {
		return $this->getData('solgctg');
	}
	function setsolgctg($data) {
		return $this->setData('solgctg', $data);
	}

	function getmant() {
		return $this->getData('mant');
	}
	function setmant($data) {
		return $this->setData('mant', $data);
	}

	function gettigia() {
		return $this->getData('tigia');
	}
	function settigia($data) {
		return $this->setData('tigia', $data);
	}

	function gettk() {
		return trim($this->getData('tk'));
	}
	function settk($tk) {
		return $this->setData('tk', $tk);
	}
	
	function gettkdu() {
		return trim($this->getData('tkdu'));
	}
	function settkdu($tkdu) {
		return $this->setData('tkdu', $tkdu);
	}
	
	function getmacttkdu() {
		return trim($this->getData('macttkdu'));
	}
	function setmacttkdu($data) {
		return $this->setData('macttkdu', $data);
	}


	
	function getsotienvn() {
		return $this->getData('sotienvn');
	}

	function setsotienvn($sotienvn) {
		return $this->setData('sotienvn', $sotienvn);
	}


	function getsotiennt() {
		return $this->getData('sotiennt');
	}

	function setsotiennt($sotiennt) {
		return $this->setData('sotiennt', $sotiennt);
	}

	function getmatk() {
		return trim($this->getData('matk'));
	}
	function setmatk($matk) {
		return $this->setData('matk', $matk);
	}

	function gettentk() {
		return trim($this->getData('tentk'));
	}
	function settentk($tentk) {
		return $this->setData('tentk', $tentk);
	}

	function getdknovn() {
		return $this->getData('dknovn');
	}

	function getdknont() {
		return $this->getData('dknovn');
	}


	function setdknovn($data) {
		return $this->setData('dknovn', $data);
	}

	function setdknont($data) {
		return $this->setData('dknont', $data);
	}

	function getsoduC($data) {
		return -$this->getData('sotienvn')+$data;
	}

	function getsoduN($data) {
		return $this->getData('sotienvn')+$data;
	}

	function getsoduCnt($data) {
		return -$this->getData('sotiennt')+$data;
	}

	function getsoduNnt($data) {
		return $this->getData('sotiennt')+$data;
	}

	function getsps($data) {
		return $this->getData('sotienvn')+$data;
	}

	function getspsnt($data) {
		return $this->getData('sotiennt')+$data;
	}
	
}

?>
